import { Node } from 'neo4j-driver'

export class Person {
    constructor(
        private readonly person: Node,
    ) {}

    toJson(): Record<string, any> {
        return {
            ...this.person.properties,
        }
    }
}